Export to Word

Hi,

I am new to Doors and I wanted to know that how can I export module to word with the absolute number just for the requirements and not for every object.

Thanks.
wjcsc - Mon Mar 29 18:33:14 EDT 2010

Re: Export to Word
llandale - Wed Mar 31 13:32:04 EDT 2010

You can create a layout that displayed AbsNo only for requirements, put in a view, then export that view.

Didn't debug this, but perhaps this layout will work:


string Text = obj.
"Object Text" 

if (matches(
"[sS][hH][aA][lL][lL]", Text)) 
{  display obj.
"Absolute Number" 
"" 
} 

else 
{
}  
// don't display anything

Usually you would want to display the "identifier(obj)" instead of just the absolute number.

  • Louie

Re: Export to Word
roybond - Thu Apr 01 10:17:19 EDT 2010

llandale - Wed Mar 31 13:32:04 EDT 2010
You can create a layout that displayed AbsNo only for requirements, put in a view, then export that view.

Didn't debug this, but perhaps this layout will work:


string Text = obj.
"Object Text" 

if (matches(
"[sS][hH][aA][lL][lL]", Text)) 
{  display obj.
"Absolute Number" 
"" 
} 

else 
{
}  
// don't display anything

Usually you would want to display the "identifier(obj)" instead of just the absolute number.

  • Louie

This of course assumes all 'requirements' contain the word "shall", but this is not always the case - requirements can take many forms, including diagrams and tables.

Another method is instead to have an Object Attribute with which to tag each Object as "Requirement", and then use a layout dxl similar to that from Louie to then only display the Object Identifier if the Attribute == "Requirement"

Re: Export to Word
llandale - Thu Apr 01 16:36:03 EDT 2010

One way or the other, you need to know what a 'Requirement' is. Many folks equate it to Text containing 'shall' (my previous post), but perhaps its a boolean IsReq attribute, or ObjType = "Requirement", or some such thing.

Once you can SAY what a requirement is, then you can code the layout.

It may be better to code it as an AttrDXL, then display that attribute.

So. What's a 'Requirement'?

  • Louie